<?php 
class getSubCateAction extends AdminMaster{
	public function execute($request){
		$data['cate_id']	= $request->getParameter('cate_id',-1); 
		$rs = array();
		switch ($data['cate_id']){
			case USER_DEFINED::FAQ_CATE_LOAN:
				$rs = BankingLoansTable::getDataList(null);
				break;
			case USER_DEFINED::FAQ_CATE_FINANCE: 
				$rs = CurrenciesTable::getDataList(null);
				break;
			case USER_DEFINED::FAQ_CATE_CARD:
				$rs = array();
				break;
		}
		$out = array(
				'status'	=> '1',
				'data'		=> $rs
		);
		print_r(json_encode($out));
		die;
	}
}